package com.example.wanandroid.service;

import com.example.wanandroid.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.HashMap;

public interface UserService {

    PageInfo<HashMap<String, Object>> getUsers(int page, int pageSize);

    User selectUserByUsername(String username);

    int insert(User user);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User user);

}
